#!/usr/local/bin/python
# -*- coding: utf-8 -*-
from django.db import models
from django.contrib.auth.models import User, Group

class MailTemplate(models.Model):
    name = models.CharField(max_length=20)
    subject = models.CharField(max_length=100)
    body = models.TextField()

class Flag(models.Model):
    date = models.DateTimeField(auto_now=True)
    user = models.ForeignKey(User)
    name = models.CharField(max_length=20)

class Profile(models.Model):
    user = models.ForeignKey(User)
    name = models.CharField(max_length=20)
    do_notif = models.NullBooleanField()
